package day03;
import java.util.Scanner;
public class ScoreLevel {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		System.out.println("请输入该学员的分数:");
		int score = scan.nextInt();
		if(score <= 100 && score >=0) {
			if(score >= 90) {
				System.out.println("A");
			}else if(score >= 80) {
				System.out.println("B");
			}else if(score >= 60) {
				System.out.println("C");
			}else {
				System.out.println("D");
			}
		}else {
			System.out.println("请输入0到100以内的分数");
		}
		scan.close();
	}

}
